﻿@page "/docs/helpers/enums/validation"

<Seo Canonical="/docs/helpers/enums/validation" Title="Enums: Validation" Description="Learn to use and work with the Blazorise Validation enums and modes to validate your forms and inputs quickly." />

<DocsPageTitle>
    Enums: Validation
</DocsPageTitle>

<DocsPageSection>
    <DocsPageSectionHeader Title="ValidationMode">
        <Paragraph>Defines the validation execution mode.</Paragraph>
        <UnorderedList>
            <UnorderedListItem><Code>ValidationMode.Auto</Code> Validation will execute on every input change.</UnorderedListItem>
            <UnorderedListItem><Code>ValidationMode.Manual</Code> Validation will run only when explicitly called.</UnorderedListItem>
        </UnorderedList>
    </DocsPageSectionHeader>
</DocsPageSection>

<DocsPageSection>
    <DocsPageSectionHeader Title="ValidationStatus">
        <Paragraph>Defines the validation results.</Paragraph>
        <UnorderedList>
            <UnorderedListItem><Code>ValidationStatus.None</Code> No validation.</UnorderedListItem>
            <UnorderedListItem><Code>ValidationStatus.Success</Code> Validation has passed the check.</UnorderedListItem>
            <UnorderedListItem><Code>ValidationStatus.Error</Code> Validation has failed.</UnorderedListItem>
        </UnorderedList>
    </DocsPageSectionHeader>
</DocsPageSection>